﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;

namespace sdkRSSReaderCS
{
    public partial class Root : PhoneApplicationPage
    {
        public Root()
        {
            InitializeComponent();
        }

        private void onHindiTapped(object sender, System.Windows.Input.GestureEventArgs e)
        {
            NavigationService.Navigate(new Uri("/MainPage.xaml?language=Hindi", UriKind.Relative));
        }

        private void onTamilTapped(object sender, System.Windows.Input.GestureEventArgs e)
        {
            NavigationService.Navigate(new Uri("/MainPage.xaml?language=Tamil", UriKind.Relative));
        }

        private void onTeluguTapped(object sender, System.Windows.Input.GestureEventArgs e)
        {
            NavigationService.Navigate(new Uri("/MainPage.xaml?language=Telugu", UriKind.Relative));
        }

        private void onMarathiTapped(object sender, System.Windows.Input.GestureEventArgs e)
        {
            NavigationService.Navigate(new Uri("/MainPage.xaml?language=Marathi", UriKind.Relative));
        }

    }
}